Skip to content

chore(codex): 升级 CLI 至 0.153.2 - #13

Merged
LimLLL merged 2 commits into
LimLLL:mainfrom
kot4ri:chore/codex-cli-0.153.2
Sep 7, 2026
Merged

chore(codex): 升级 CLI 至 0.153.2#13
LimLLL merged 2 commits into
LimLLL:mainfrom
kot4ri:chore/codex-cli-0.153.2

Conversation

@kot4ri

@kot4ri kot4ri commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

改动说明 / What changed

将 Codex CLI 从 0.152.1 升级至最新稳定版 0.153.2,并按协议迁移流程逐项比对生成 schema:

  • 同步 package、Docker、工作流及文档中的 CLI 版本;
  • 更新 rust-v0.153.2 的 App Server vendored README;
  • 补齐 Thread.model / Thread.reasoningEffort OpenAPI 元数据;
  • 保留并展示 agentMessage.questions 异步结构化提问;
  • 根据真实 model/list 响应支持 max / ultra 推理强度;
  • 重新生成前端 SDK并补充协议/normalizer 回归测试。

未接入本次新增但当前 WebUI 不依赖的 plugin/reconcileAppsConfig.links,已记录到 remaining tasks。

关联 issue / Related issues

Closes #12

改动类型 / Type of change

  • Bug 修复 / Bug fix
  • 新功能 / New feature
  • 重构,不改变外部行为 / Refactor with no behaviour change
  • 文档 / Documentation
  • 构建、CI、部署 / Build, CI or deployment

验证 / Verification

  • pnpm lint 通过 / passes
  • pnpm test 通过 / passes(34 files,295 tests)
  • cd web && pnpm test 通过 / passes(8 files,72 tests)
  • 手动验证过受影响的界面 / Manually verified the affected UI

额外验证:

  • 后端与前端 production build 通过;
  • 0.153.2 App Server initializemodel/listthread/list 冒烟测试通过;
  • model/list 实测包含 max / ultra

检查项 / Checklist

  • 改动范围收敛在本 PR 的目标内,没有夹带无关修改 / Scope is limited to this PR's goal, no unrelated changes
  • 未修改数据库 schema,无需迁移 / No database schema change
  • 改了后端接口,已重新生成前端 SDK / Regenerated the frontend SDK
  • 没有新增 UI 文案,无需 i18n 条目 / No new UI copy requiring i18n
  • 已同步更新受影响的 docs/ 文档 / Updated the affected docs under docs/

补充信息 / Additional notes

异步问题的选项当前按 App Server 语义作为建议项只读展示;用户仍通过普通新消息自由回复,不与会阻塞 turn 的同步 item/tool/requestUserInput 流程混用。

kot4ri and others added 2 commits September 4, 2026 17:14
Thread.model / Thread.reasoningEffort 是 app-server 对线程设置的视角,
不是本客户端的 resolved-settings 契约,两者不应互相覆盖:

- threads-overview 把两个字段写死成 null,而 thread/list 在 0.153.2
  会真实填充它们。上游语义里 null 表示「值不可用」,等于向客户端
  发出错误信号,且 DTO 已声明该字段。改回透传。
- thread-resume-registry 的 readAsOpen 显式设置 thread.model /
  reasoningEffort,随后被 toWritableOpen 用 cached 值无条件覆盖,
  那两行永远不生效;覆盖本身还会丢弃 readAsOpen 刚取到的更新元数据。
  移除死代码,让 thread 视角与顶层 resolved 字段各自独立。

StartTurnDto.effort 是客户端输入,不应比端点实际声明的 enum 更宽。
schema 的 ReasoningEffort 是不透明 string,改为从 REASONING_EFFORT_VALUES
派生,既恢复编译期收窄又不用手抄字面量。

顺带修掉 remaining-tasks 中 plugin/reconcile 条目的重复笔误。
@LimLLL
LimLLL merged commit 9a7c160 into LimLLL:main Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

适配 Codex CLI 0.153.2 协议变更

2 participants